﻿using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Text;
using CookComputing.XmlRpc;
using System.Security.Cryptography;


namespace MolineSoftware.DrupalXmlRpc
{
    /// <summary>
    /// struct: Object for Connection and Logins
    /// </summary>
    public class Drupal : DrupalBase
    {
        public Drupal()
        {
            this.User = new DrupalUser();
        }
        /// <summary>
        /// Gets or Sets the SessionID
        /// </summary>
        [XmlRpcMember(Description = "The SessionID for the connection.", Member = "sessid")]
        public string SessionID { get; set; }

        /// <summary>
        /// Gets the <see cref="DrupalUser"/> properties
        /// </summary>
        [XmlRpcMember(Description = "The User Object.", Member = "user")]
        public DrupalUser User;
    }
}
